package com.product.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Hanhuiyong
 * @version 1.0.0
 * @ClassName Item.java
 * @Description
 * @createTime 2021年09月11日 16:47:00
 */
@Data
public class Item {

    @TableId
    private Long itemId;

    private Long merchantSkuId;

    private Long merchantId;

    private Long storeId;

    private Integer state;

    private BigDecimal price;

    private Integer inventory;

    @Override
    public String toString() {
        return new StringBuilder()
                .append(this.itemId).append(" ")
                .append(this.merchantSkuId).append(" ")
                .append(this.merchantId).append(" ")
                .append(this.storeId).append(" ")
                .append(this.state).append(" ")
                .append(this.price).append(" ")
                .append(this.inventory).append(" ").toString();
    }
}
